package net.hn.hnms.biz.indicator.link;

import net.hn.hnms.biz.api.safety.monitor.model.FireIndicatorVo;
import net.hn.hnms.sys.common.core.domain.R;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author 智呈物联 nzw
 * @date 2022/10/17
 */
@Component
public class MineLinkServiceFallback implements MineLinkService{

    @Override
    public R<FireIndicatorVo> fireIndicator() {
        return R.fail("火灾评分获取失败");
    }

    @Override
    public Map<String, Object> floodIndicator() {
        return null;
    }

    @Override
    public Map<String, Object> gasIndicator() {
        return null;
    }

    @Override
    public Map<String, Object> dustIndicator() {
        return null;
    }


}
